package com.wanmait.baohan.service.Impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.mapper.VehicleReservationMapper;
import com.wanmait.baohan.pojo.VehicleReservation;
import com.wanmait.baohan.service.VehicleReservationService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class VehicleReservationServiceImpl implements VehicleReservationService {
    @Resource
    VehicleReservationMapper vehicleReservationMapper;
    @Override
    public void insert(VehicleReservation object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(VehicleReservation object) {

    }

    @Override
    public VehicleReservation findById(Integer id) {
        return null;
    }

    @Override
    public List<VehicleReservation> findAll() {
        return null;
    }

    @Override
    public List<VehicleReservation> findAll(VehicleReservation object) {
        return null;
    }

    @Override
    public PageInfo<VehicleReservation> findPage(int pageNum) {
        return null;
    }

    @Override
    public PageInfo<VehicleReservation> findPage() {
        return null;
    }

    @Override
    public PageInfo<VehicleReservation> findPage(int pageNum, VehicleReservation object) {
        return null;
    }

    @Override
    public PageInfo<VehicleReservation> findPage(VehicleReservation object) {
        return null;
    }

    @Override
    public void insertList(List<VehicleReservation> vehicleReservations) {
        vehicleReservationMapper.insertList(vehicleReservations);
    }

    @Override
    public List<VehicleReservation> findAllByid(Integer id) {
        return null;
    }
}
